<#if po??>

#-- ${po.name} menu sql --#
INSERT INTO `u_function`(`id`, `code`, `parent_code`, `type`, `domain`, `path`, `name`, `level`, `sort_value`, `is_available`, `is_deleted`, `create_time`, `company_id`, `platform_id`) VALUES
(installer.seq_nextval('seq_no'), @menuCode, @parentMenuCode, 4, @pool, '', '${po.title}', 4, 99, 1, 0, now(), @companyId, 1),

#-- ${po.name} url sql --#
(installer.seq_nextval('seq_no'), '${po.name}_listPage', @menuCode, 3, @pool, '/${po.uncapitalizedName}/listPage', '分页查询${po.title}', 4, 99, 1, 0, now(), @companyId, 1),
(installer.seq_nextval('seq_no'), '${po.name}_getById', @menuCode, 3, @pool, '/${po.uncapitalizedName}/getById', '查询${po.title}', 4, 99, 1, 0, now(), @companyId, 1),
(installer.seq_nextval('seq_no'), '${po.name}_add', @menuCode, 3, @pool, '/${po.uncapitalizedName}/add', '添加${po.title}', 4, 99, 1, 0, now(), @companyId, 1),
(installer.seq_nextval('seq_no'), '${po.name}_update', @menuCode, 3, @pool, '/${po.uncapitalizedName}/update', '修改${po.title}', 4, 99, 1, 0, now(), @companyId, 1),
(installer.seq_nextval('seq_no'), '${po.name}_delete', @menuCode, 3, @pool, '/${po.uncapitalizedName}/delete', '删除${po.title}', 4, 99, 1, 0, now(), @companyId, 1),
<#if po.importable>
(installer.seq_nextval('seq_no'), '${po.name}_importData', @menuCode, 3, @pool, '/${po.uncapitalizedName}/importData', '导入${po.title}', 4, 99, 1, 0, now(), @companyId, 1),
</#if>
<#if po.exportable>
(installer.seq_nextval('seq_no'), '${po.name}_exportData', @menuCode, 3, @pool, '/${po.uncapitalizedName}/exportData', '导出${po.title}', 4, 99, 1, 0, now(), @companyId, 1),
</#if>

#-- ${po.name} button sql --#
(installer.seq_nextval('seq_no'), '${po.name}_listPage', @menuCode, 2, @pool, '', '分页查询${po.title}', 4, 99, 1, 0, now(), @companyId, 1),
(installer.seq_nextval('seq_no'), '${po.name}_getById', @menuCode, 2, @pool, '', '查询${po.title}', 4, 99, 1, 0, now(), @companyId, 1),
(installer.seq_nextval('seq_no'), '${po.name}_add', @menuCode, 2, @pool, '', '新增${po.title}', 4, 99, 1, 0, now(), @companyId, 1),
(installer.seq_nextval('seq_no'), '${po.name}_update', @menuCode, 2, @pool, '', '编辑${po.title}', 4, 99, 1, 0, now(), @companyId, 1),
(installer.seq_nextval('seq_no'), '${po.name}_delete', @menuCode, 2, @pool, '', '删除${po.title}', 4, 99, 1, 0, now(), @companyId, 1),
<#if po.importable>
(installer.seq_nextval('seq_no'), '${po.name}_importData', @menuCode, 2, @pool, '', '导入${po.title}', 4, 99, 1, 0, now(), @companyId, 1),
</#if>
<#if po.exportable>
(installer.seq_nextval('seq_no'), '${po.name}_exportData', @menuCode, 2, @pool, '', '导出${po.title}', 4, 99, 1, 0, now(), @companyId, 1);
</#if>
</#if>